﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.T.BasicData.Domain.RBAC
{
    /// <summary>
    /// 权限信息
    /// </summary>
    [Table("permissions")]
    public class Permissions
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        
        public int PermissionsId {  get; set; }//权限编号
        public string  PermissionName { get; set; }//权限名称
        public string  Component {  get; set; }//权限URL
        public int Serialnumber { get; set; }//序号
        public bool IsDeleted { get; set; } = false;//是否删除
        public int? Parentnumber {  get; set; }//父级编号
    }
}
